home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-12-30 | 4.7 KB | 124 lines |
- #
- # This make file is the main make file of the IRIT solid modeller and its
- # auxilary tools, under OS2.
- #
- # Do the following before run make:
- #
- # 1. Edit 'makeflag.os2' for the exact path names to be used for libraries and
- # binaries. Set the proper C compiler and graphics library flags in
- # makeflag.unx as well.
- # 2. The libgif.a is not provided here. See the documentation on how to get
- # it. Without it poly3d-r cannot be build.
- # The make files are set as if libgif.a IS PROVIDED.
- #
- # Gershon Elber, Nov. 1991
- #
-
- include makeflag.os2
-
- #
- # Uncommend the following variable to only see the actions taken.
- #
- # VIEW_ONLY = -n
-
-
- all: docs
- cd misc_lib && make $(VIEW_ONLY) -f makefile.os2 install
- cd cagd_lib && make $(VIEW_ONLY) -f makefile.os2 install
- cd prsr_lib && make $(VIEW_ONLY) -f makefile.os2 install
- cd geom_lib && make $(VIEW_ONLY) -f makefile.os2 install
- -cd grapdrvs && make $(VIEW_ONLY) -f makefile.os2 install
- -cd irit && make $(VIEW_ONLY) -f makefile.os2 install
- -cd docs && make $(VIEW_ONLY) -f makefile.os2 install
- -cd illustrt && make $(VIEW_ONLY) -f makefile.os2 install
- -cd poly3d-h && make $(VIEW_ONLY) -f makefile.os2 install
- -cd poly3d-r && make $(VIEW_ONLY) -f makefile.os2 install
- -cd iritfltr && make $(VIEW_ONLY) -f makefile.os2 install
- cmd /c echo Before executing the test suite and/or any usage of this package
- cmd /c echo you will have to issue the following command:
- cmd /c echo set path = "%path%;$(BIN_DIR)"
- cmd /c echo set IRIT_PATH = $(BIN_DIR)/
- cmd /c echo set IRIT_BIN_IPC = 1
- cmd /c echo or similar.
-
- clean:
- -rm poly3d-h/*.map poly3d-h/*.bak poly3d-h/*.old poly3d-h/*.hdn poly3d-h/*.sym
- -rm illustrt/*.map illustrt/*.bak illustrt/*.old illustrt/*.sym
- -rm poly3d-r/*.map poly3d-r/*.bak poly3d-r/*.old poly3d-r/*.gif poly3d-r/*.sym
- -rm iritfltr/*.map iritfltr/*.bak iritfltr/*.old iritfltr/*.sym
- -rm prsr_lib/*.map prsr_lib/*.bak prsr_lib/*.sym
- -rm cagd_lib/*.map cagd_lib/*.bak cagd_lib/*.sym
- -rm geom_lib/*.map geom_lib/*.bak geom_lib/*.sym
- -rm grapdrvs/*.map grapdrvs/*.bak grapdrvs/*.sym
- -rm misc_lib/*.map misc_lib/*.bak misc_lib/*.sym
- -rm irit/*.map irit/*.bak irit/*.old irit/*.sym irit/*.dat
- -rm docs/irithlp.exe
-
- cleanobj:
- -rm poly3d-h/*.o poly3d-r/*.o illustrt/*.o irit/*.o \
- iritfltr/*.o cagd_lib/*.o misc_lib/*.o geom_lib/*.o \
- prsr_lib/*.o grapdrvs/*.o docs/*.o
- -rm docs/irithlp.exe
-
- #
- # Make hardcopy documentation.
- #
- docs:
- cd docs
- -make $(VIEW_ONLY) -f makefile.os2 irit.tex irit.doc
- cd ..
-
- #
- # Test some of the above programs. Make sure $(BIN_DIR) is in your path
- #
- test:
- -cd irit && irit demo
- -cd poly3d-h && cmd /c test-os2
- -cd poly3d-r && cmd /c test-os2
- -cd illustrt && cmd /c test-os2
- -cd iritfltr && cmd /c test-os2
-
- #
- # Generate dependencies for the source tree.
- #
- depend:
- -cd irit && makedpnd -u -r -m makefile.unx *.c
- -cd irit && makedpnd -u -r -m makefile.os2 *.c
- -cd irit && makedpnd -r -m makefile.tc *.c
- -cd poly3d-h && makedpnd -u -r -m makefile.unx *.c
- -cd poly3d-h && makedpnd -u -r -m makefile.os2 *.c
- -cd poly3d-h && makedpnd -u -r -m makefile.djg *.c
- -cd poly3d-h && makedpnd -r -m makefile.tc *.c
- -cd poly3d-r && makedpnd -u -r -m makefile.unx *.c
- -cd poly3d-r && makedpnd -u -r -m makefile.os2 *.c
- -cd poly3d-r && makedpnd -u -r -m makefile.djg *.c
- -cd poly3d-r && makedpnd -r -m makefile.tc *.c
- -cd illustrt && makedpnd -u -r -m makefile.unx *.c
- -cd illustrt && makedpnd -u -r -m makefile.os2 *.c
- -cd illustrt && makedpnd -r -m makefile.tc *.c
- -cd iritfltr && makedpnd -u -r -m makefile.unx *.c
- -cd iritfltr && makedpnd -u -r -m makefile.os2 *.c
- -cd iritfltr && makedpnd -u -r -m makefile.djg *.c
- -cd iritfltr && makedpnd -r -m makefile.tc *.c
- -cd cagd_lib && makedpnd -u -r -m makefile.unx *.c
- -cd cagd_lib && makedpnd -u -r -m makefile.os2 *.c
- -cd cagd_lib && makedpnd -u -r -m makefile.djg *.c
- -cd cagd_lib && makedpnd -r -m makefile.tc *.c
- -cd geom_lib && makedpnd -u -r -m makefile.unx *.c
- -cd geom_lib && makedpnd -u -r -m makefile.os2 *.c
- -cd geom_lib && makedpnd -u -r -m makefile.djg *.c
- -cd geom_lib && makedpnd -r -m makefile.tc *.c
- -cd misc_lib && makedpnd -u -r -m makefile.unx *.c
- -cd misc_lib && makedpnd -u -r -m makefile.os2 *.c
- -cd misc_lib && makedpnd -u -r -m makefile.djg *.c
- -cd misc_lib && makedpnd -r -m makefile.tc *.c
- -cd grapdrvs && makedpnd -u -r -m makefile.unx *.c
- -cd grapdrvs && makedpnd -u -r -m makefile.os2 *.c
- -cd grapdrvs && makedpnd -u -r -m makefile.djg *.c
- -cd grapdrvs && makedpnd -r -m makefile.tc *.c
- -cd prsr_lib && makedpnd -u -r -m makefile.unx *.c
- -cd prsr_lib && makedpnd -u -r -m makefile.os2 *.c
- -cd prsr_lib && makedpnd -u -r -m makefile.djg *.c
- -cd prsr_lib && makedpnd -r -m makefile.tc *.c
-
-